#include "MyTest.h"

TEST_F(MyTest, test1)
{
    EXPECT_EQ(1, 2);
    EXPECT_EQ(3, QuickTest::add(1, 2));
}

TEST_F(MyTest, test2)
{
    QuickTest::SetNum(3);

    // 注意这里可以直接使用这个public变量testNum
    cout << "----------------- testNum: " << testNum << endl;
    EXPECT_EQ(5, QuickTest::add(2,  testNum));
}
